package com.rightsidetech.system.dtos.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class SysSignRuleUpReq implements Serializable {

    @ApiModelProperty(value = "id",required = true)
    @NotNull(message = "id不可为空")
    private Long id;

    @ApiModelProperty("规则描述")
    private String ruleDescribe;

    @ApiModelProperty("规则值")
    @Range(min = 0,message = "规则值不可未负数")
    private BigDecimal ruleValue;
}
